﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="systemkeyword_list.aspx.cs" Inherits="Web_Admin_SiteInfo_systemkeyword_list" %>

<%@ Register src="../ascx/navigation.ascx" tagname="navigation" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>全文关键词管理</title>
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
    <link rel="stylesheet" type="text/css" href="../css/default.css" />
    <script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../js/default.js"></script>
</head>
<body>
<form id="form1" runat="server">
<uc1:navigation ID="navigation1" Title="全文关键词管理" runat="server" />
<div class="adRbox">
    <div class="arTabBox">
    	<table id="tb_list" width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="50" style="text-align:right;"><input id="chk_all" onclick="select_all(this);" type="checkbox" /></th>
            <th class="cen">关键词</th>
            <th class="cen">Title</th>
            <th class="cen">Alt</th>
            <th class="cen">连接地址</th>
            <th class="cen">新窗口打开</th>
            <th class="cen">启用</th>
            <th class="cen">排序</th>
            <th class="cen" width="70">操作</th>
          </tr>
        <asp:Repeater ID="rpList" runat="server">
            <ItemTemplate>
             <tr>
                <td style="text-align:right;"><input name="checkboxs" type="checkbox" value="<%# Eval("GID") %>" /></td>
                <td class="cen"><%# Eval("LookExpression")%></td>
                <td class="cen"><%# Eval("Title")%></td>
                <td class="cen"><%# Eval("Alt")%></td>
                <td class="cen"><%# Eval("Link")%></td> 
                <td class="cen"><%# getStateImage(Eval("NewWindow"))%></td>
                <td class="cen"><%# getStateImage(Eval("Enabled"))%></td>
                <td class="cen"><%# Eval("Ordinal")%></td>
                <td class="cen"><a href="systemkeyword_add.aspx?id=<%# Eval("GID") %>">编辑</a></td>
              </tr>
            </ItemTemplate>
        </asp:Repeater>
        </table>                                                                                         
	    <asp:Literal ID="lit_nodata" Visible="false" Text="<div style='text-align:center; margin-top:10px;'>无记录</div>" runat="server"></asp:Literal>
    </div>
    
    <div style="text-align:right; margin-top:10px;">
        <asp:Button ID="but_window" runat="server" Text="新窗口打开" CssClass="sbtn bn2" OnClientClick="return check_post();" onclick="but_window_Click" />&nbsp;&nbsp;
        <asp:Button ID="but_diswindow" runat="server" Text="取消新窗口打开" CssClass="sbtn bn2" OnClientClick="return check_post();" onclick="but_diswindow_Click" />&nbsp;&nbsp;
        <asp:Button ID="but_enable" runat="server" Text="启用" CssClass="sbtn" OnClientClick="return check_post();" onclick="but_enable_Click" />&nbsp;&nbsp;
        <asp:Button ID="but_disenable" runat="server" Text="关闭" CssClass="sbtn" OnClientClick="return check_post();" onclick="but_disenable_Click" />&nbsp;&nbsp;
        <asp:Button ID="but_delete" runat="server" Text="删除" CssClass="sbtn" OnClientClick="return check_post('确定要删除吗？');" onclick="but_delete_Click" />
    </div>
    
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
	$(".arTabBox tr:gt(0):odd").css("background","#F1F1F1");
});	
</script>
</form>
</body>
</html>


